//
//  NetworkClient.h
//  KD
//
//  Created by centling on 15/7/20.
//  Copyright (c) 2015年 centling. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Token.h"

@interface NetworkClient : NSObject

//获取Token
+(void)getToken:(void (^)(Token *token))success
        failure:(void (^)(NSError* err))failure;

//登录
+(void)login:(NSString *)userName
withPassword:(NSString *)password
     success:(void (^)(Token *token))success
     failure:(void (^)(NSError* err))failure;

@end
